<?php $questions = User::GetSecretQuestions(); ?>
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr><td align="center">
<div class="CenterPanel">
	<div class="CenterPanelTopLeft"></div>
	<div class="CenterPanelTopRight"></div>
	<div class="CenterPanelBottomLeft"></div>
	<div class="CenterPanelBottomRight"></div>
	<div class="CenterPanelLogo" title="theTextPad"></div>
	<center>
	<form action="submit" method="post" id="signupForm">
	<input type="hidden" name="action" value="signup" />
	<table border="0" cellpadding="5" cellspacing="0">
		<tr><td align="right">First Name:</td><td colspan="2"><input class="Text" type="text" name="firstName" id="firstName"/></td></tr>
		<tr><td align="right">Last Name:</td><td colspan="2"><input class="Text" type="text" name="lastName" id="lastName"/></td></tr>
		<tr><td align="right">E-Mail:</td><td colspan="2"><input class="Text" type="text" name="email" id="email"/></td></tr>
		<tr><td align="right">Password:</td><td><input class="Text" type="password" name="password" /></td></tr>
		<tr><td align="right">Confirm Password:</td><td><input class="Text" type="password" name="password2" /></td></tr>
		<tr><td align="right">Password Question:</td><td><select name="forgottenQuestion" id="forgottenQuestion"><?php for($i=0;$i<count($questions);$i++) { ?><option value="<?php echo $questions[$i]['id'];?>"><?php echo $questions[$i]['question']; ?></option><?php } ?></select></td></tr>
		<tr><td align="right">Password Answer:</td><td><input class="Text" type="text" name="forgottenAnswer" id="forgottenAnswer"/></td></tr>
		<tr><td align="center" colspan="2"><table border="0" cellpadding="0" cellspacing="0"><tr><td><input type="checkbox" name="agree_to_tou" title="Agree to Terms of Use" value="agree" id="agree_to_tou"/></td><td><label for="agree_to_tou">I agree too all <a href="#Terms">terms of use</a></label></td></tr></table></td></tr>
		<tr><td align="center" colspan="2"><input class="Button" type="submit" value="Sign Up" style="margin:0px 10px;"/> <a href="#Login" title="Login">Login</a></td></tr>
	</table>
	</form>
	</center>
	<script language="javascript" type="text/javascript">
		RegisterForm('signupForm');
	</script>
</div>
</td></tr></table>